home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _7C7F7E0931B24E12980888C80EED8CE5 < prev    next >
Encoding:
Text File  |  2002-04-03  |  2.2 KB  |  130 lines

  1. {
  2.     \\ Server Information Popup Menu \\
  3.  
  4.     menuDef 
  5.     {
  6.         name        "serverinfo_popmenu"
  7.            visible        0
  8.            fullscreen    0
  9.            rect        155 70 330 340
  10.         rect        0 0 640 480
  11.         focusColor    .49 .56 .27 1
  12.            style        WINDOW_STYLE_FILLED
  13.            border        1
  14.         popup
  15.         
  16.         onOpen 
  17.         { 
  18.             uiScript ServerStatus 
  19.         }
  20.         onESC 
  21.         { 
  22.             close serverinfo_popmenu ; 
  23.         }
  24.  
  25.         itemDef
  26.         {
  27.             name        window
  28.             rect        0 0 640 480
  29.             style        WINDOW_STYLE_FILLED
  30.             backcolor    0 0 0 .5
  31.             visible        1
  32.             decoration
  33.         }
  34.  
  35.         itemDef 
  36.         {
  37.             name        window
  38.                rect        145 70 420 380
  39.             background    "gfx/menus/backdrop/requestor"
  40.             style        WINDOW_STYLE_SHADER
  41.             visible        1
  42.             decoration
  43.         }
  44.  
  45.         itemDef 
  46.         {
  47.             name        window
  48.             text        "Server Information"
  49.             style        WINDOW_STYLE_FILLED
  50.             textfont    "hud"
  51.             textscale    .53
  52.             rect        167 86 336 33
  53.             textalign    1
  54.             textalignx    160
  55.             textaligny    12
  56.             forecolor    .12 .14 .08 1
  57.             backcolor    0 0 0 .25
  58.             visible        1
  59.             decoration
  60.         }
  61.  
  62.         itemDef 
  63.         {
  64.             name            window
  65.             rect            170 130 330 212
  66.             type            ITEM_TYPE_LISTBOX
  67.             style            WINDOW_STYLE_FILLED
  68.             elementwidth    120
  69.             elementheight    16
  70.             textfont        "hud"
  71.             textscale        .43
  72.             textaligny        -13
  73.             forecolor        1 1 1 1
  74.             backcolor        0 0 0 .25
  75.             border            1
  76.             bordersize        1
  77.             bordercolor        0 0 0 1
  78.             elementtype        LISTBOX_TEXT
  79.             feeder            FEEDER_SERVERSTATUS
  80.             notselectable
  81.             visible 1
  82.             columns 4    2 40 20
  83.                         40 40 10
  84.                         90 40 10
  85.                         135 40 22
  86.          }
  87.  
  88.         //    BUTTON    //
  89.  
  90.         itemDef 
  91.         {
  92.             name        ok_button
  93.             text        "Exit"
  94.             textfont        "hud"
  95.             textscale        .43
  96.             type        ITEM_TYPE_BUTTON
  97.             style        WINDOW_STYLE_FILLED
  98.             rect        303 353 60 26
  99.             textalign    0
  100.             textalignx    15
  101.             textaligny    4
  102.             forecolor    .12 .14 .08 1
  103.             backcolor    0 0 0 0
  104.             visible        1
  105.             border        1
  106.             bordercolor    0 0 0 1
  107.             
  108.             action 
  109.             { 
  110.                 play "sound/misc/menus/select.wav" ; 
  111.  
  112.                 close serverinfo_popmenu ; 
  113.             }
  114.             mouseEnter 
  115.             { 
  116.                 play "sound/misc/menus/hilite1.wav" ; 
  117.                 setitemcolor ok_button backcolor .12 .14 .08 1
  118.                 setitemcolor ok_button forecolor .49 .56 .27 1
  119.             }                 
  120.             mouseExit 
  121.             { 
  122.                 setitemcolor ok_button backcolor 0 0 0 0
  123.                 setitemcolor ok_button forecolor .12 .14 .08 1
  124.             }
  125.         }
  126.     }
  127. }
  128.  
  129.  
  130.